import request from '@/utils/request'

// 查询语音识别记录列表
export function listSpeechClassify(query) {
    return request({
        url: '/admin/speechClassify/list',
        method: 'get',
        params: query
    })
}

// 查询语音识别记录详细
export function getSpeechClassify(id) {
    return request({
        url: '/admin/speechClassify/' + id,
        method: 'get'
    })
}

// 新增语音识别记录
export function addSpeechClassify(data) {
    return request({
        url: '/admin/speechClassify',
        method: 'post',
        data: data
    })
}

// 修改语音识别记录
export function updateSpeechClassify(data) {
    return request({
        url: '/admin/speechClassify',
        method: 'put',
        data: data
    })
}

// 删除语音识别记录
export function delSpeechClassify(id) {
    return request({
        url: '/admin/speechClassify/' + id,
        method: 'delete'
    })
}
